export interface DiscordApplicationDeveloper {
  name: string
  id: string
}

export interface DiscordApplicationData {
  id: string
  name: string
  icon: string
  description: string
  summary: string
  hook: boolean
  bot_public: boolean
  bot_require_code_grant: boolean
  custom_install_url?: string
  install_params?: {
    permissions: string
    scopes: string[]
  }
  verify_key: string
  flags: number
  tags?: string[]
  terms_of_service_url?: string
  privacy_policy_url?: string
  guild_id?: string
  developers?: DiscordApplicationDeveloper[]
  publishers?: DiscordApplicationDeveloper[]
  primary_sku_id?: string
}

export interface DiscordApplicationDataResponse {
  application?: DiscordApplicationData
}